//
//(C) Copyright 2011 HongKong Airline.,Ltd. 
//
/**
 * packageinfoModel
 *
 * 项目名称:代购系统
 *
 * @author Mengxiangliang
 *
 * 功能描述:
 * 
 * 历史版本:2013-01-04 v1.0.0 Mengxiangliang  创建:
 * 
 */
package com.gamutsoft.amb.packageinfo.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PACKAGEINFO")
public class Packageinfo implements java.io.Serializable {

	/**
	 * 
	 */
	private Long id ;
	/**
	 * 
	 */
	private String code ;
	/**
	 * 
	 */
	private String freightCode ;
	/**
	 * 
	 */
	private BigDecimal amount ;
	/**
	 * 
	 */
	private String flowStatus ;
	/**
	 * 
	 */
	private String createtime ;
	/**
	 * 
	 */
	private Long userId ;
	/**
	 * 
	 */
	private String payType ;
	/**
	 * 
	 */
	private String payStatus ;
	/**
	 * 
	 */
	private Long freightId ;
	/**
	 * 
	 */
	private BigDecimal weight ;
	/**
	 * 
	 */
	private BigDecimal cubage ;
	/**
	 * 
	 */
	private BigDecimal freightAmount ;
	/**
	 * 
	 */
	private BigDecimal safetyAmount ;
	/**
	 * 
	 */
	private BigDecimal serviceAmount ;
	/**
	 * 
	 */
	private BigDecimal discountAmount ;
	/**
	 * 
	 */
	private BigDecimal entryAmount ;
	/**
	 * 
	 */
	private Long freightAreaId ;
	
	private String postType;
	
	private String predictDate;
	
	private String actualDate;

/** default constructor */
	public Packageinfo() {
	}

	/** minimal constructor */
   public Packageinfo(Long id) {
             this.id = id;
                                                                                                            	
 } 
	

    /**
	 * 获取
	 * @return
	 */
    @Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, scale = 0)
	public Long getId() {
		return this.id;
	}
	
	/**
	 * 设置
	 * @param id
	 */	
	public void setId(Long id) {
		this.id = id;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "code", length = 32)
	public String getCode() {
		return code;
	}
	
	/**
	 * 设置
	 * @param code
	 */	
	public void setCode(String code) {
		this.code = code;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "freight_code", length = 32)
	public String getFreightCode() {
		return freightCode;
	}
	
	/**
	 * 设置
	 * @param freightCode
	 */	
	public void setFreightCode(String freightCode) {
		this.freightCode = freightCode;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "amount", length = 10)
	public BigDecimal getAmount() {
		return amount;
	}
	
	/**
	 * 设置
	 * @param amount
	 */	
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "flow_status", length = 3)
	public String getFlowStatus() {
		return flowStatus;
	}
	
	/**
	 * 设置
	 * @param flowStatus
	 */	
	public void setFlowStatus(String flowStatus) {
		this.flowStatus = flowStatus;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "createTime", length = 19)
	public String getCreatetime() {
		return createtime;
	}
	
	/**
	 * 设置
	 * @param createtime
	 */	
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "user_id", length = 32)
	public Long getUserId() {
		return userId;
	}
	
	/**
	 * 设置
	 * @param userId
	 */	
	public void setUserId(Long userId) {
		this.userId = userId;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "pay_type", length = 10)
	public String getPayType() {
		return payType;
	}
	
	/**
	 * 设置
	 * @param payType
	 */	
	public void setPayType(String payType) {
		this.payType = payType;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "pay_status", length = 3)
	public String getPayStatus() {
		return payStatus;
	}
	
	/**
	 * 设置
	 * @param payStatus
	 */	
	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "freight_id", length =32 )
	public Long getFreightId() {
		return freightId;
	}
	
	/**
	 * 设置
	 * @param freightId
	 */	
	public void setFreightId(Long freightId) {
		this.freightId = freightId;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "weight", length = 10)
	public BigDecimal getWeight() {
		return weight;
	}
	
	/**
	 * 设置
	 * @param weight
	 */	
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "cubage", length = 10)
	public BigDecimal getCubage() {
		return cubage;
	}
	
	/**
	 * 设置
	 * @param cubage
	 */	
	public void setCubage(BigDecimal cubage) {
		this.cubage = cubage;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "freight_amount", length = 10)
	public BigDecimal getFreightAmount() {
		return freightAmount;
	}
	
	/**
	 * 设置
	 * @param freightAmount
	 */	
	public void setFreightAmount(BigDecimal freightAmount) {
		this.freightAmount = freightAmount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "safety_amount", length = 10)
	public BigDecimal getSafetyAmount() {
		return safetyAmount;
	}
	
	/**
	 * 设置
	 * @param safetyAmount
	 */	
	public void setSafetyAmount(BigDecimal safetyAmount) {
		this.safetyAmount = safetyAmount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "service_amount", length = 10)
	public BigDecimal getServiceAmount() {
		return serviceAmount;
	}
	
	/**
	 * 设置
	 * @param serviceAmount
	 */	
	public void setServiceAmount(BigDecimal serviceAmount) {
		this.serviceAmount = serviceAmount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "discount_amount", length = 10)
	public BigDecimal getDiscountAmount() {
		return discountAmount;
	}
	
	/**
	 * 设置
	 * @param discountAmount
	 */	
	public void setDiscountAmount(BigDecimal discountAmount) {
		this.discountAmount = discountAmount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "entry_amount", length = 10)
	public BigDecimal getEntryAmount() {
		return entryAmount;
	}
	
	/**
	 * 设置
	 * @param entryAmount
	 */	
	public void setEntryAmount(BigDecimal entryAmount) {
		this.entryAmount = entryAmount;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "freight_area_id", length = 10)
	public Long getFreightAreaId() {
		return freightAreaId;
	}
	
	/**
	 * 设置
	 * @param freightAreaId
	 */	
	public void setFreightAreaId(Long freightAreaId) {
		this.freightAreaId = freightAreaId;
	}
	
	@Column(name = "post_type", length = 3)
	public String getPostType() {
		return postType;
	}
	public void setPostType(String postType) {
		this.postType = postType;
	}
	@Column(name = "predict_date", length = 19)
	public String getPredictDate() {
		return predictDate;
	}

	public void setPredictDate(String predictDate) {
		this.predictDate = predictDate;
	}
	@Column(name = "actual_date", length = 19)
	public String getActualDate() {
		return actualDate;
	}

	public void setActualDate(String actualDate) {
		this.actualDate = actualDate;
	}
	
}